
package com.dhcc.bpm.modules.orga.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

import java.util.Date;

/**
 * @ClassName OnlineApply
 * @Description 上线申请审批表实体类
 * @Author daina
 * @Date 2020/2/24 19:25
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Data
@TableName("opc_online_apply")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "OnlineApply对象", description = "上线申请审批表")
public class OnlineApply extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 机构ID (关联opc_orga表ID)
     */
    @JsonSerialize(
            using = ToStringSerializer.class,
            nullsUsing = NullSerializer.class
    )
    @ApiModelProperty(value = "机构ID (关联opc_orga表ID)")
    private Long orgaId;
    /**
     * 渠道ID (关联opc_app表ID)
     */
    @JsonSerialize(
            using = ToStringSerializer.class,
            nullsUsing = NullSerializer.class
    )
    @ApiModelProperty(value = "渠道ID (关联opc_app表ID)")
    private Long appId;
    /**
     * 上线申请时间
     */
    @ApiModelProperty(value = "上线申请时间")
    private Date appOnlineTime;
    /**
     * 申请说明
     */
    @ApiModelProperty(value = "申请说明")
    private String applyMsg;
    /**
     * 签名算法
     */
    @ApiModelProperty(value = "签名算法")
    private String signAlg;
    /**
     * 审批人员
     */
    @ApiModelProperty(value = "审批人员")
    private String approveOfficer;
    /**
     * 审批时间
     */
    @ApiModelProperty(value = "审批时间")
    private Date approveTime;
    /**
     * 审批状态
     */
    @ApiModelProperty(value = "审批状态")
    private String approveStatus;
    /**
     * 审批意见
     */
    @ApiModelProperty(value = "审批意见")
    private String approveOpinion;
    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
//    @TableField(value = "`describe`")
    private String describe;

    /**
     * 导出数据标识
     */
    @ApiModelProperty(value = "导出数据标识")
    @JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
    private String expSeq;
}
